package com.cykj.eurekaribbon.utils;

import com.cykj.eurekaribbon.bean.RouteInfo;
import com.cykj.eurekaribbon.bean.RouteTimeNode;

import java.util.*;

/**
 * @version 1.0
 * @author: zhiMing
 * @date: 2021/9/23 1:00
 * @desc: 将从数据库获取的时刻进行按时段进行分组，这个一个分组的工具类
 */
public class RouteInfoTool {

    private String timeParagraph;
    private String timeParagraphState;
    private List<RouteTimeNode> timeNodeList;

    public RouteInfoTool() {
    }

    public RouteInfoTool(String timeParagraph,String timeParagraphState, List<RouteTimeNode> timeNodeList) {
        this.timeParagraph = timeParagraph;
        this.timeParagraphState = timeParagraphState;
        this.timeNodeList = timeNodeList;
    }

    public String getTimeParagraph() {
        return timeParagraph;
    }

    public String getTimeParagraphState() {
        return timeParagraphState;
    }

    public void setTimeParagraphState(String timeParagraphState) {
        this.timeParagraphState = timeParagraphState;
    }

    public void setTimeParagraph(String timeParagraph) {
        this.timeParagraph = timeParagraph;
    }

    public List<RouteTimeNode> getTimeNodeList() {
        return timeNodeList;
    }

    public void setTimeNodeList(List<RouteTimeNode> timeNodeList) {
        this.timeNodeList = timeNodeList;
    }
}
